package com.huilian.iotbox.admin.wap.dao;

import com.huilian.iotbox.data.dto.*;
import com.huilian.iotbox.data.po.Label;
import com.huilian.iotbox.data.vo.MemberManagementMemberDataVo;
import com.huilian.iotbox.data.vo.MemberVo;
import com.huilian.iotbox.data.vo.StatsMemberManagementVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MemberDao {

    List<MemberVo> findMemberList(MemberDto memberDto);

    MemberDto queryById(Long memberId);

    MemberStats getMemberStatsData(MemberDto memberDto);



    List<MemberStats> findStatsGroupByStore(MemberDto memberDto);


    List<MemberVo> findByStoreId(MemberDto memberDto);

    MemberVo findByMemberIdMerchantStoreId(MemberDto memberDto);

    Integer findCountByMemberId(StatsUserDto statsUserDto);

    Integer findCountMemberByMchStoreId(StatsStoreDto statsStoreDto);

    List<MemberVo> findByMerchantStoreId(MemberDto memberDto);

    MemberVo findById(Long id);
}
